func internal/cpu.isSet
20 uses
internal/cpu (current package)
cpu_x86.go#L91: X86.HasSSE3 = isSet(ecx1, cpuid_SSE3)
cpu_x86.go#L92: X86.HasPCLMULQDQ = isSet(ecx1, cpuid_PCLMULQDQ)
cpu_x86.go#L93: X86.HasSSSE3 = isSet(ecx1, cpuid_SSSE3)
cpu_x86.go#L94: X86.HasSSE41 = isSet(ecx1, cpuid_SSE41)
cpu_x86.go#L95: X86.HasSSE42 = isSet(ecx1, cpuid_SSE42)
cpu_x86.go#L96: X86.HasPOPCNT = isSet(ecx1, cpuid_POPCNT)
cpu_x86.go#L97: X86.HasAES = isSet(ecx1, cpuid_AES)
cpu_x86.go#L102: X86.HasOSXSAVE = isSet(ecx1, cpuid_OSXSAVE)
cpu_x86.go#L108: X86.HasFMA = isSet(ecx1, cpuid_FMA) && X86.HasOSXSAVE
cpu_x86.go#L115: osSupportsAVX = isSet(eax, 1<<1) && isSet(eax, 1<<2)
cpu_x86.go#L118: X86.HasAVX = isSet(ecx1, cpuid_AVX) && osSupportsAVX
cpu_x86.go#L125: X86.HasBMI1 = isSet(ebx7, cpuid_BMI1)
cpu_x86.go#L126: X86.HasAVX2 = isSet(ebx7, cpuid_AVX2) && osSupportsAVX
cpu_x86.go#L127: X86.HasBMI2 = isSet(ebx7, cpuid_BMI2)
cpu_x86.go#L128: X86.HasERMS = isSet(ebx7, cpuid_ERMS)
cpu_x86.go#L129: X86.HasADX = isSet(ebx7, cpuid_ADX)
cpu_x86.go#L130: X86.HasSHA = isSet(ebx7, cpuid_SHA)
cpu_x86.go#L140: X86.HasRDTSCP = isSet(edxExt1, cpuid_RDTSCP)
cpu_x86.go#L143: func isSet(hwc uint32, value uint32) bool {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |